package com.zm.demo.core.jvm.metrics;

/**
 * @author z01140
 * @Package: com.zm.demo.core.jvm.metrics
 * @Description:
 * @CreateDate 2023/9/5 17:46
 * @UpdateDate 2023/9/5 17:46
 */
public class Memory {

    private boolean isHeap;
    private long init;
    private long used;
    private long committed;
    private long max;

    public boolean getIsHeap() {
        return isHeap;
    }

    public void setIsHeap(boolean heap) {
        isHeap = heap;
    }

    public long getInit() {
        return init;
    }

    public void setInit(long init) {
        this.init = init;
    }

    public long getUsed() {
        return used;
    }

    public void setUsed(long used) {
        this.used = used;
    }

    public long getCommitted() {
        return committed;
    }

    public void setCommitted(long committed) {
        this.committed = committed;
    }

    public long getMax() {
        return max;
    }

    public void setMax(long max) {
        this.max = max;
    }
}
